//
//  YouLikeModel.m
//  Products_B
//
//  Created by lanou on 16/5/28.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "YouLikeModel.h"

@implementation YouLikeModel
+ (NSMutableArray *)modelConfigureWithDic:(NSDictionary *)jsonDic{
    NSMutableArray *modelArray = [NSMutableArray array];
   NSArray *widget_dataArray = jsonDic[@"data"][@"widgetList"][0][@"widget_data"];
    for (NSDictionary *widget_dataDic in widget_dataArray) {
        YouLikeModel *model = [[self alloc]init];
        [model setValuesForKeysWithDictionary:widget_dataDic];
        [modelArray addObject:model];
    }
    return modelArray;
}
@end
